package www.openteam.com.contract;

import java.util.List;

import www.openteam.com.bean.Result;
import www.openteam.com.bean.ResultNew;

/**
 * Created by kylin on 2016/12/15.
 *
 */

public class LoginContract {

        public interface LoginPresenter{
                void login(String name,String password);
        }

        public  interface LoginView{
                String getUserName();

                String getPwd();

                void loginSuccess(ResultNew result);

                void loginFail(String failMsg);
        }
}
